<?php


namespace App\Models;


use Carbon\Carbon;

class Model extends \Illuminate\Database\Eloquent\Model
{
    /**
     * 取消更新created_at和updated_at
     *
     * @var bool
     */
    public $timestamps = true;

    protected function serializeDate(\DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }


}